package cn.cloud.all.security.oauth2.provider.authentication;

import cn.cloud.all.security.authentication.AuthenticationDetailsSource;

import javax.servlet.http.HttpServletRequest;

public class OAuth2AuthenticationDetailsSource implements AuthenticationDetailsSource<HttpServletRequest, OAuth2AuthenticationDetails> {

    public OAuth2AuthenticationDetails buildDetails(HttpServletRequest context) {
        return new OAuth2AuthenticationDetails(context);
    }

}
